#ifndef OPANDTYPES_INCLUDED
    #define OPANDTYPES_INCLUDED
    enum OPERATORTYPE{PLUS = -100, MUL, SUB, DIV, NUMBER};
#endif // OPANDTYPES_INCLUDED
#include<malloc.h>
#include<stdio.h>
#include<assert.h>
struct node_t
{
    double value;
    int typeN;
    node_t* l;
    node_t* r;
};

node_t* nodeNew(int typeN, double value, node_t* left, node_t* right);
node_t* nodeNew(int typeN, node_t* left, node_t* right);

int printTree(const node_t* root, FILE* f);
int tree_dtor(node_t* root);

